package com.itheima.pojo;

import java.io.Serializable;

/**
 * @author HLJ
 */
public class Food implements Serializable {
    /**
     *唯一标识
     */
    private Integer id;
    /**
     * 膳食编号
     */
    private Integer foodId;
    /**
     * 膳食名称
     */
    private String foodName;
    /**
     * 膳食类型
     */
    private String  foodType;
    /**
     *膳食贴士
     */
    private String foodTip;
    /**
     *膳食水分
     */
    private float foodWater;
    /**
     *膳食卡路里
     */
    private Integer foodKcal;
    /**
     *膳食热量
     */
    private float foodKJ;
    /**
     *膳食所含蛋白质
     */
    private float foodProtein;
    /**
     *膳食所含脂肪
     */
    private float foodFat;
    /**
     *膳食重量
     */
    private Integer foodWeight;
    /**
     *膳食计量单位
     */
    private String foodUnit;


    public Food() {
    }

    public Food(Integer id, Integer foodId, String foodName, String foodType, String foodTip, float foodWater, Integer foodKcal, float foodKJ, float foodProtein, float foodFat,  Integer foodWeight, String foodUnit) {
        this.id = id;
        this.foodId = foodId;
        this.foodName = foodName;
        this.foodType = foodType;
        this.foodTip = foodTip;
        this.foodWater = foodWater;
        this.foodKcal = foodKcal;
        this.foodKJ = foodKJ;
        this.foodProtein = foodProtein;
        this.foodFat = foodFat;
        this.foodWeight = foodWeight;
        this.foodUnit = foodUnit;

    }




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFoodId() {
        return foodId;
    }

    public void setFoodId(Integer foodId) {
        this.foodId = foodId;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public String getFoodType() {
        return foodType;
    }

    public void setFoodType(String foodType) {
        this.foodType = foodType;
    }

    public String getFoodTip() {
        return foodTip;
    }

    public void setFoodTip(String foodTip) {
        this.foodTip = foodTip;
    }

    public float getFoodWater() {
        return foodWater;
    }

    public void setFoodWater(float foodWater) {
        this.foodWater = foodWater;
    }

    public Integer getFoodKcal() {
        return foodKcal;
    }

    public void setFoodKcal(Integer foodKcal) {
        this.foodKcal = foodKcal;
    }

    public float getFoodKJ() {
        return foodKJ;
    }

    public void setFoodKJ(float foodKJ) {
        this.foodKJ = foodKJ;
    }

    public float getFoodProtein() {
        return foodProtein;
    }

    public void setFoodProtein(float foodProtein) {
        this.foodProtein = foodProtein;
    }

    public float getFoodFat() {
        return foodFat;
    }

    public void setFoodFat(float foodFat) {
        this.foodFat = foodFat;
    }


    public Integer getFoodWeight() {
        return foodWeight;
    }

    public void setFoodWeight(Integer foodWeight) {
        this.foodWeight = foodWeight;
    }

    public String getFoodUnit() {
        return foodUnit;
    }

    public void setFoodUnit(String foodUnit) {
        this.foodUnit = foodUnit;
    }


    @Override
    public String toString() {
        return "Food{" +
                "id=" + id +
                ", foodId=" + foodId +
                ", foodName='" + foodName + '\'' +
                ", foodType=" + foodType +
                ", foodTip='" + foodTip + '\'' +
                ", foodWater=" + foodWater +
                ", foodKcal=" + foodKcal +
                ", foodKJ=" + foodKJ +
                ", foodProtein=" + foodProtein +
                ", foodFat=" + foodFat +
                ", foodWeight=" + foodWeight +
                ", foodUnit=" + foodUnit +
                '}';
    }
}
